package com.zhiyou100.model;

import java.util.Date;

public class Progress {
    private Integer id;

    private Integer projectId;

    private Integer userId;

    private String title;

    private String logo;

    private String content;

    private Date updateTime;

    private User user;
    
   

	public Progress() {
		super();
	}

    
    
	public Progress(Integer projectId, Integer userId, String title, String logo, String content) {
		super();
		this.projectId = projectId;
		this.userId = userId;
		this.title = title;
		this.logo = logo;
		this.content = content;
	}





	@Override
	public String toString() {
		return "Progress [id=" + id + ", projectId=" + projectId + ", userId=" + userId + ", title=" + title + ", logo="
				+ logo + ", content=" + content + ", updateTime=" + updateTime + ", user=" + user + "]";
	}



	public Progress(Integer id, Integer projectId, Integer userId, String title, String logo, String content,
			Date updateTime) {
		super();
		this.id = id;
		this.projectId = projectId;
		this.userId = userId;
		this.title = title;
		this.logo = logo;
		this.content = content;
		this.updateTime = updateTime;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo == null ? null : logo.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    
    public User getUser() {
		return user;
	}



	public void setUser(User user) {
		this.user = user;
	}


    
}